<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2024/12/18
 * Time: 14:11
 */

namespace app\controller\index;

use \app\model\Project AS model;

class Project extends Base
{
    public function list(){
        $list = new model();
        $list = $list->paginate(['page' => $this->page,'list_rows' => $this->size]);
        return $this->view('/index/project/list',['list' => $list]);
    }

    public function info($id){
        $info = [];
        return $this->view('index/project/info',['info' => $info]);
    }
}